package com.virgo.redis.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
@ConfigurationProperties(prefix = "virgo.cache")
public class CacheConfig {

	/**
	 * redis元素的前缀
	 */
	private String redisKey;

	/**
	 * 缓存元素的前缀
	 */
	private String cacheKey;
}
